.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);


  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #000;

    a {
      margin-left: 20px;
      transform: translateY(2px);

      img {
        width: 140px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;
      transition: all .6s;

      .line {
        width: 30px;
        height: 1px;
        background-color: #fff;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      //transform: translateX(20px);
      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  // height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        width: 100%;
        display: block;
      }

      img {
        width: 24px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.search_box {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, .6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;

  .close {
    position: absolute;
    right: 30px;
    top: 30px;
    cursor: pointer;

    img {
      width: 30px;
    }
  }

  .content {
    width: 50vw;
    position: relative;

    input {
      background-color: white;
      width: 100%;
      font-size: 16px;
      padding: 15px 0;
      border: none;
      outline: none;
      border-radius: 30px;
      text-indent: 30px;
    }

    a {
      position: absolute;
      right: 30px;
      top: 50%;
      transform: translateY(-50%);

      img {
        width: 30px;
      }
    }
  }
}

.head {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 13px 86px 10px 91px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  z-index: 88;

  .logo {
    width: 261px;
    margin: 50px 0 0 0;
    position: relative;

    img {
      width: 100%;
      &:nth-child(2) {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        opacity: 0;
      }
    }

  }

  .r {
    .flex {
      display: flex;
      justify-content: flex-end;
      margin: 0 0 40px;

      a {
        font-weight: 300;
        font-size: 20px;
        color: #FFFFFF;
        position: relative;

        &:not(:last-child) {
          margin: 0 107px 0 0;

          &:after {
            content: '';
            position: absolute;
            width: 1px;
            height: 15px;
            background: #fff;
            top: 50%;
            transform: translateY(-50%);
            right: -50px;
          }
        }
      }
    }

    .other {
      display: flex;
      align-items: center;

      .nav {
        display: flex;
        margin: 0 55px 0 0;

        a {
          font-weight: 400;
          font-size: 25px;
          color: rgba(255, 255, 255, .9);
          position: relative;

          &:not(:last-child) {
            margin: 0 67px 0 0;
          }

          &:after {
            content: '';
            position: absolute;
            width: 100%;
            height: 1px;
            background: #fff;
            bottom: -5px;
            left: 0;
            transform: scaleX(0);
            transform-origin: left;
            transition: .6s;
          }

          &:hover, &.on {
            &:after {
              transform: scaleX(1);
            }
          }
        }
      }

      .search {
        width: 34px;
        cursor: pointer;
        position: relative;
        top: 3px;

        img {
          width: 100%;
        }
      }
    }
  }

  &.on{
    background: #fff;
    .r .other .search img{
      filter: invert(100%);
    }
    .logo{
      img{
        &:first-child{
          opacity: 0;
        }
        &:nth-child(2) {
          opacity: 1;
        }
      }
    }
    &:after{
      content: '';
      position: absolute;
      width: 100%;
      height: 53px;
      top: 0;
      left: 0;
      z-index: -1;
      background: #004097;
    }
     .r .other .nav a{
       color: #2A2A2A;
       &:after{
         background: #060606;
       }
       &.on{
         color: #004097;
       }
     }
  }
}

.footer {
  padding: 165px 0 0 0;
  position: relative;
  z-index: 1;

  .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }

  .wrap {
    width: 1500px;
    margin: auto;
    max-width: 90%;

    .picture {
      display: flex;
      justify-content: space-between;
      img {
        width: 217px;
        transition: .6s;

        &:hover {
          transform: scale(1.05);
        }

        &:not(:last-child) {
          margin: 0 28px 0 0;
        }
      }
    }

    .content {
      z-index: 1;
      position: relative;
      padding: 43px 0 53px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 52px 0 0 0;

      &:after {
        z-index: -1;
        content: '';
        position: absolute;
        width: 100vw;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background: #3F3F3F;
        opacity: .5;
      }

      .l {
        font-weight: 500;
        font-size: 20px;
        color: #FFFFFF;
        line-height: 34px;
      }

      .img {
        width: 341px;

        img {
          width: 100%;
        }
      }
    }
  }
}

@media screen and (max-width: 1600px) {
  .head .r .other .nav a:not(:last-child) {
    margin: 0 51px 0 0;
  }
  .head .r .other .nav a {
    font-size: 22px;
  }
  .head .r .flex a {
    font-size: 16px;
  }
  .footer .wrap .picture img:not(:last-child) {
    margin: 0;
  }
  .footer .wrap .picture img {
    width: 15%;
  }
  .footer .wrap .picture {
    justify-content: space-between;
  }
}

@media screen and (max-width: 1385px) {
  .head .r .other .nav a {
    font-size: 20px;
  }
  .head .r .other .nav a:not(:last-child) {
    margin: 0 25px 0 0;
  }
  .footer .wrap .content .l {
    font-size: 16px;
  }
  .footer .wrap .content .img {
    width: 293px;
  }
}

@media screen and (max-width: 1200px) {
  .pheader {
    display: flex;
  }
  .head {
    display: none;
  }
  .footer .wrap .picture {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .footer .wrap .picture img {
    width: 47%;
    margin: 0 0 5% !important;
  }
  .footer .wrap .content {
    flex-direction: column;
    align-items: unset;
  }
  .footer .wrap .content .img {
    width: 209px;
    margin: 20px 0 0 0;
  }
  .footer .wrap .content {
    padding: 15px 0;
    margin-top: 0;
  }
  .footer {
    background-color: #004097;
    padding-top: 20px;
    .bg {
      object-fit: cover;
      display: none;
    }
  }
}